status: Fix build without GPGME
authorEric Curtin <ecurtin@redhat.com>
Fri, 5 Jan 2024 14:39:46 +0000 (14:39 +0000)
committerEric Curtin <ecurtin@redhat.com>
Fri, 5 Jan 2024 14:52:11 +0000 (14:52 +0000)
commit37971a9d54f0f9dbc64df3822db765af17019d22
treea0a454eb41aee9cf535863373703dba6d0324a3a
parentac8638f3e459697c0df8fe17dbcc7cf3925fef88
status: Fix build without GPGME

If OSTREE_DISABLE_GPGME is not built in set remote to NULL.

The ostree_repo_signature_verify_commit_data path is irrelevant in the
no gpg case anyway. Having this set as NULL ensures an error gets
thrown early.

Signed-off-by: Eric Curtin <ecurtin@redhat.com>
src/ostree/ot-admin-builtin-status.c